
/**
 * 二维空间 点
 */
export default class Point {
    public x:number = 0;
    public y:number = 0;

    constructor(x:number,y:number) {
        this.x = x;
        this.y = y;
    }

    setPos(x:number,y:number) {
        this.x = x;
        this.y = y;
    }
}